package dea;

public class OutputValue {
	public String OutputName;
	public Double OutputVal;
	public Double OutputWeight;
	private int PdmDirection;

	public int getPdmDirection() {
		return PdmDirection;
	}

	public void setPdmDirection(int pdmDirection) throws Exception {
		if (pdmDirection == -1 || pdmDirection == 1)
			PdmDirection = pdmDirection;
		else
			throw new Exception("Direction can only be -1 || 1");
	}

	public OutputValue(String outputName, Double outputVal, Double outputWeight) {
		this.OutputName = outputName;
		this.OutputVal = outputVal;
		this.OutputWeight = outputWeight;
	}
}
